-- GENERATED SPELL FOR [Sandfury Axe Thrower] --


function spell0_5646(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5646', 500, 1)
end

function Sorts_5646(pUnit, Event)
local choix_sorts_5646 = math.random(0, 0)
if choix_sorts_5646 == 0 then
pUnit:RegisterEvent('spell0_5646', 1, 1)
end
end

function mob5646_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5646', math.random(1500, 3000), 1)
end

function mob5646_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5646_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5646_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5646, 1, 'mob5646_Action')
RegisterUnitEvent(5646, 2, 'mob5646_Leave')
RegisterUnitEvent(5646, 3, 'mob5646_Kill')
RegisterUnitEvent(5646, 4, 'mob5646_Die')
